package com.zxy.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(name="stock-app")
public interface StockClient {
    @GetMapping("/stock")
     int ordering(@RequestParam Integer productId, @RequestParam Integer qty);

}
